package cate.game.role.login.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBLogin;
import easy.java.dev.note.NoteField;

@ClientMsg(title = "登录失败的返回")
public class LoginFailedResp implements MsgOutput {
    @NoteField(value = "类型，1 登录， 2 是否在线  3初始化")
    public int type;

    public LoginFailedResp(){

    }

    public LoginFailedResp(int type){
        this.type = type;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBLogin.FAILED_RESP;
    }
}
